package com.googlecode.stemwijzer.client.view;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.DockLayoutPanel;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.stemwijzer.client.presenter.StemwijzerPresenter;

public class StemwijzerView extends Composite implements StemwijzerPresenter.Display {

	private static StemwijzerViewUiBinder uiBinder = GWT.create(StemwijzerViewUiBinder.class);

	interface StemwijzerViewUiBinder extends UiBinder<DockLayoutPanel, StemwijzerView> {
	}

	@UiField
	FlowPanel container;
	
	public StemwijzerView() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	@Override
	public Widget asWidget() {
		return this;
	}

	@Override
	public void startProcessing() {
	}

	@Override
	public void stopProcessing() {
	}

	@Override
	public HasWidgets getContainer() {
		return this.container;
	}
}
